package com.hzit.mapper;

import com.hzit.entity.TbBrand;
import com.hzit.entity.TbBrandExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbBrandMapper {
    long countByExample(TbBrandExample example);

    int deleteByExample(TbBrandExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbBrand row);

    int insertSelective(TbBrand row);

    List<TbBrand> selectByExample(TbBrandExample example);

    TbBrand selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") TbBrand row, @Param("example") TbBrandExample example);

    int updateByExample(@Param("row") TbBrand row, @Param("example") TbBrandExample example);

    int updateByPrimaryKeySelective(TbBrand row);

    int updateByPrimaryKey(TbBrand row);
}